/*
package cn.itcast.EXERCISE4;

class Point
{
    public Point (int x, int y) {
        this.x = x ; this.y = y ;
    }
    public void affCoord(){
        System.out.println ("Coordonnees : " + x + " " + y) ;
    }
    private int x, y ;
}
class Pointnom extends Point {
    String name;
    public Pointnom(int x, int y) {
        super(x, y);
    }

    public void setPointNom(int a, int b, String name) {
        setPoint(a, b);
        this.name = name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void affCoordNom() {
        System.out.print(name + " ");
        affCoord();
    }
}
class PointName extends Point{
    Pointnom pointnom=new Pointnom(0,0);
    public PointName(int x, int y) {
        super(x, y);
        pointnom.
    }
}
public class EXERCISE4 {
}
*/
